import org.casaframework.event.DispatchableInterface;
import com.modestmaps.core.Coordinate;
import com.modestmaps.geo.MercatorProjection;
import com.modestmaps.geo.Transformation;
import com.modestmaps.mapproviders.AbstractZoomifyMapProvider;
import com.modestmaps.mapproviders.IMapProvider;

class com.ryanmark.CTATransitMapProvider
extends AbstractZoomifyMapProvider
implements IMapProvider, DispatchableInterface
{
    public function CTATransitMapProvider()
    {
        super();
        defineImageProperties('map/', 4800, 4800);
        
        var t:Transformation = new Transformation(571975.4918030037, -711.9768314212296, 878569.8763017806,
                                                  271.7214295595837, -426703.22142126755, 346789.209343799);

        __projection = new MercatorProjection(13, t);
        __topLeftOutLimit = __topLeftOutLimit.zoomTo(3);
    }

    public function toString():String
    {
        return "CTA_TRANSIT";
    }
}